package com.own.core.object.admin.pages;

import com.own.core.html.form.validateType;
import com.own.core.object.Dao;
import com.own.core.object.admin.Action;
import com.own.util.Mode;

public class Component extends Dao {

	private ComponentType type;
	private boolean required = false;

	// define validation
	private validateType validate = validateType.ALPHA_NUMERIC;

	// max lenght for
	private int Lenght = 50;

	// define if field searchable in search for
	private boolean serachable = true;

	// define if field link to anther page or not
	private String linkable = "";

	// if field dispaly in listing Object
	private boolean list = true;

	// define if field searchable in search for
	private boolean number = false;

	private Action role = Action.ALL;
	
	private Mode mode = Mode.VIEW;

	private boolean lazy = false;

	private String effectOn = "";

	private String property = "name";

	private String NamedQuery = "";

	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long getId() {
		// TODO Auto-generated method stub
		return 0;
	}

}
